<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Hello</title>
</head>
<body>


<h1>Hello World</h1>
<%--<form action="/getUserById" method="post">--%>
<form action="${pageContext.request.contextPath}/getUserById" method="post">
    ID：<input type="text" name="id" />
    <input type="submit" value="提交">
</form>




</body>
</html>
